//
//  DataHelper.h
//  Travel assistant
//
//  Created by 王京 on 16/3/2.
//  Copyright © 2016年 旅游助手. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^SUCCESS)(NSMutableArray *arry);

@interface DataHelper : NSObject

+ (DataHelper *)shareHelper;
//传回解析数组
- (void) requestURL:(NSString *)urlString tableView:(SUCCESS)tableViewBlock;
//上来刷新的number
- (void) requestURL:(NSInteger)number t:(SUCCESS)backBlock;
//传回tableView和collectionView的下标
@property (nonatomic,strong) NSIndexPath *index;
//解析数组
@property (nonatomic,strong) NSMutableArray *dataArray;

@property (nonatomic,assign)BOOL flag;

//我的界面
@property (nonatomic,strong) NSString *userName;

@property (nonatomic,strong) NSString *iconURL;

@property (nonatomic,strong) UIImageView *placeHoderImageV;

@property (nonatomic,assign) BOOL loginToView;

@property (nonatomic,assign) BOOL registToView;

@property (nonatomic,strong) UIImage *currentImage;

@end
